import request from '@/utils/request'

// 查询边日志-连接状态列表
export function listLogConnectionStatus(query) {
  return request({
    url: '/manager/logConnectionStatus/list',
    method: 'get',
    params: query
  })
}

// 查询边日志-连接状态所有列表
export function listAllLogConnectionStatus(query) {
  return request({
    url: '/manager/logConnectionStatus/listAll',
    method: 'get',
    params: query
  })
}

// 查询边日志-连接状态详细
export function getLogConnectionStatus(logId) {
  return request({
    url: '/manager/logConnectionStatus/getInfo/' + logId,
    method: 'get'
  })
}

// 新增边日志-连接状态
export function addLogConnectionStatus(data) {
  return request({
    url: '/manager/logConnectionStatus/add',
    method: 'post',
    data: data
  })
}

// 修改边日志-连接状态
export function updateLogConnectionStatus(data) {
  return request({
    url: '/manager/logConnectionStatus/edit',
    method: 'post',
    data: data
  })
}

// 删除边日志-连接状态
export function delLogConnectionStatus(logId) {
  return request({
    url: '/manager/logConnectionStatus/remove/' + logId,
    method: 'get'
  })
}
